<template>
  <div class="count_list">
    <van-card
      v-for="(item, index) in childList"
      :key="index"
      :desc="item.promotion_info"
      :title="item.category"
      thumb="https://img.yzcdn.cn/vant/ipad.jpeg"
      @click="$router.push(`/detile?id=${item.id}`)"
    >
      <template #tags>
        <p>{{ item.address }}</p>
      </template>
    </van-card>
  </div>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
export default {
  props:{ 
    childList: Array
  },
  setup() {},
};
</script>
<style lang="scss" scoped>
</style>